<div id="banner962">
        <div class="hot-event">
<!--
            <div class="switch-nav">
                <a href="#" onclick="return false;" class="prev"><i class="ico i-prev"></i><span class="hide-clip">上一个</span></a>
                <a href="#" onclick="return false;" class="next"><i class="ico i-next"></i><span class="hide-clip">下一个</span></a>
            </div>
-->
            <?php $display = 'block';?>
            <?php foreach($bannerList as $i => $banner): ?> 
            <?php
		$images = json_decode($banner['Banner']['banner'], false);
		$img = ''; 
		if (!empty($banner['Banner']['banner']) ) {
		    $img = $banner['Banner']['banner'];
		} 
		if ($img == '') {
		    break; 
		}
              
            ?>
            <div class="event-item" style="display: <?php echo $display?>">
            <?php $display = 'none';?>
            <?php echo $this->Html->link($this->Html->image('/'.$img, array('width'=>960, 'height'=>380)), $banner['Banner']['ref'], array('escape'=>false, 'class'=>'banner'))?> 
            </div>
            <?php endforeach;?>
            <div class="switch-tab">
                <?php for($j=1; $j<=$i+1; $j++):?>
                <?php $isCurrent = $j==1 ? 'current' : '' ?>
                <a href="#" onclick="return false;" class="<?php echo $isCurrent?>"><?php echo $j; ?></a>
                <?php endfor;?>
            </div>
        </div>
</div>
<script type="text/javascript">
$('#banner962').nav({ t: 2000, a: 1000 });
</script>
<br/>
<!-- end banner 962 -->
